#ifndef SOULLANG_SOULC_CODE_ANALYZE_HPP
#define SOULLANG_SOULC_CODE_ANALYZE_HPP

#include <string>
#include <vector>


namespace soulc {
	template <typename T>
	bool inList(std::vector<T> list, T value)
	{
		for (auto element : list) {
			if (element == value) { return true; }
		}

		return false;
	}

	bool isDigit(char symbol);

	bool isLetter(char symbol);

	bool checkForNameEnds(char symbol);

	std::string getCodeLine(std::string code, uint64_t line);
}


#endif
